public class text {



        public static int calculate(int a,int b){
            return a+b;

        }
        public static int TY(int a,int b){
            return a-b;

        }
        public static void main(String[] args) {
            int Calculate=calculate(1,2);
            int Calculate2=calculate(2,4);
            int Calculate3=calculate(10,20);
            int Calculate4=calculate(11,21);
            int Calculate5=calculate(20,10);
            int Calculate6=calculate(30,20);
            int Calculate7=calculate(23,20);
            int Calculate8=calculate(12,20);
            int Calculate9=calculate(10,23);
            int Calculate10=calculate(22,11);
            int Calculate11=calculate(33,22);
            int ty1=TY(10,2);
            int ty2=TY(20,4);

            int ty3=TY(28,3);
            int ty4=TY(12,3);





            System.out.println(Calculate);
            System.out.println(Calculate2);
            System.out.println(Calculate2);
            System.out.println(Calculate3);
            System.out.println(Calculate4);
            System.out.println(Calculate5);
            System.out.println(Calculate6);
            System.out.println(Calculate7);
            System.out.println(Calculate8);
            System.out.println(Calculate9);
            System.out.println(Calculate10);
            System.out.println(Calculate11);
            System.out.println(ty1);
            System.out.println(ty2);
            System.out.println(ty3);
            System.out.println(ty4);









        }
}
